package com.yami.shop.mystery.common.service;

import cn.hutool.core.lang.UUID;
import cn.hutool.extra.qrcode.QrCodeUtil;
import cn.hutool.extra.qrcode.QrConfig;
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.bean.enums.EsOperationType;
import com.yami.shop.bean.event.EsMysteryBoxUpdateEvent;
import com.yami.shop.bean.event.EsProductUpdateEvent;
import com.yami.shop.bean.model.Product;
import com.yami.shop.common.util.OssMultipartFile;
import com.yami.shop.mystery.common.model.ActivityPresell;
import com.yami.shop.mystery.common.model.ActivityProd;
import com.yami.shop.mystery.common.model.ActivitySubject;
import com.yami.shop.mystery.common.model.MysteryBox;
import com.yami.shop.service.AttachFileService;
import com.yami.shop.service.ProdParameterService;
import com.yami.shop.service.ProductService;
import com.yami.shop.service.SysConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.web.multipart.MultipartFile;

import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.List;

public interface ActivitySubjectService extends IService<ActivitySubject> {

    void createQrcode(Long activitySubjectId, Long shopId, boolean isContainFree, String activityId);
}
